projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
561169b
)
Show the details of the fish that caused a failure
author
Daniel Sabo
<DanielSabo@gmail.com>
Tue, 30 Apr 2013 02:43:41 +0000
(19:43 -0700)
committer
Daniel Sabo
<DanielSabo@gmail.com>
Tue, 30 Apr 2013 02:43:41 +0000
(19:43 -0700)
tests/common.inc
patch
|
blob
|
history
diff --git
a/tests/common.inc
b/tests/common.inc
index 8d573fdc8c7cfe443e1bc0dcc0a2a8a3fa568722..501644abb0fa8cb8804e4e4cb551fecb6fbda92c 100644
(file)
--- a/
tests/common.inc
+++ b/
tests/common.inc
@@
-1,4
+1,6
@@
+#include "babl/babl-introspect.h"
+
#define CHECK_CONV(test_name, componenttype, src_fmt, dst_fmt, src_pix, expected_pix) \
{ \
const Babl *fish; \
@@
-19,6
+21,7
@@
{ \
printf (" %s failed #%i[%i] got %i expected %i\n", test_name, i, c, result[c], expected_pix[i][c]); \
OK = 0; \
+ babl_introspect((Babl *)fish); \
} \
} \
}